package io.renren.service;

import io.renren.entity.DataContractEntity;

import java.util.List;
import java.util.Map;

/**
 * 历史合同基础表
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
<<<<<<< .mine
 * @date 2018-05-31 15:37:38
=======
 * @date 2018-05-31 13:49:46
>>>>>>> .r16164
 */
public interface DataContractService {
	
	DataContractEntity queryObject(String id);
	
	List<DataContractEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(DataContractEntity dataContract);
	
	void update(DataContractEntity dataContract);
	
	void delete(String id);
	
	void deleteBatch(String[] ids);
}
